package entidades;

import java.io.Serializable;
import java.lang.String;
import javax.persistence.*;

/**
 * Entity implementation class for Entity: Usuario
 *
 */
@Entity
@Table(schema="valorador", name = "usuario")
public class Usuario implements Serializable 
{
	@Id
	@Column(name="codigo", nullable = false)
	private int codigo;
	@Column(name="login", nullable = false, unique = true)
	private String login;
	@Column(name="password", nullable = false)
	private String password;
	@Column(name="nombre", nullable = false)
	private String nombre;
	@Column(name="apellidos", nullable = false)
	private String apellidos;
	@Column(name="correoElectronico", nullable = false)
	private String correoElectronico;
	private static final long serialVersionUID = 1L;
 
	public int getCodigo() 
	{
		return this.codigo;
	}

	public void setCodigo(int codigo) 
	{
		this.codigo = codigo;
	}   
	public String getLogin()
	{
		return this.login;
	}

	public void setLogin(String login)
	{
		this.login = login;
	}   
	public String getPassword() 
	{
		return this.password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}   
	public String getNombre() 
	{
		return this.nombre;
	}

	public void setNombre(String nombre)
	{
		this.nombre = nombre;
	}   
	public String getApellidos() 
	{
		return this.apellidos;
	}

	public void setApellidos(String apellidos) {
		this.apellidos = apellidos;
	}   
	public String getCorreoElectronico()
	{
		return this.correoElectronico;
	}

	public void setCorreoElectronico(String correoElectronico)
	{
		this.correoElectronico = correoElectronico;
	}
   
}
